<script type="text/javascript">
    jQuery(document).ready(function() {
        // dynamic table
        jQuery('#dyntable').dataTable({
            "sPaginationType": "full_numbers",
            "aaSortingFixed": [[0, 'asc']],
            "fnDrawCallback": function(oSettings) {
                jQuery.uniform.update();
            }
        });

        jQuery("#left-menu li#dashboard").removeClass("active");
        jQuery("#left-menu li#clinic").removeClass("active");
        jQuery("#left-menu li#opd").addClass("active");
    });
</script>

<div id="mainwrapper" class="mainwrapper">
    <!--HEADER STARTS -->
    <?php echo $this->element('header'); ?>
    <!--HEADER ENDS-->

    <div class="leftpanel">
        <!-- LEFT MENU -->
        <?php echo $this->element('side_menu'); ?>
    </div><!-- leftpanel -->

    <div class="rightpanel">
        <ul class="breadcrumbs">
            <li><a href="dashboard.html"><i class="iconfa-home"></i></a> <span class="separator"></span></li>
            <li><a href="forms.html">OPD</a> <span class="separator"></span></li>
            <li>Process Patient's Record</li>

        </ul>

        <div class="pageheader">
            <form action="results.html" method="post" class="searchbar">
                <input type="text" name="keyword" placeholder="To search type and hit enter..." />
            </form>
            <div class="pageicon"><span class="iconfa-table"></span></div>
            <div class="pagetitle">
                <h5>OPD</h5>
                <h1>Process Patient's Record</h1>
            </div>
        </div><!--pageheader-->

        <div class="maincontent">
            <div class="maincontentinner">
                <!-- <div>
                <?php echo $this->Html->link($this->Html->image('add-patient.png', array('border' => '2', 'width' => '40', 'height' => '40')), array('controller' => 'Dashboard', 'action' => 'form2'), array('target' => '_self', 'escape' => false, 'title' => 'Add New Patient')); ?>
             </div>-->
                <h4 class="widgettitle">PATIENT RECORD LIST</h4>

                <table id="dyntable" class="table table-bordered responsive">
                    <colgroup>
                        <col class="con0" style="align: center; width: 4%" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                    </colgroup>
                    <thead>
                        <tr>
                            <th class="head0 nosort"><input type="checkbox" class="checkall" /></th>
                            <th class="head0">Patient ID</th>
                            <th class="head1">Patient Name</th>
                            <th class="head0">Address</th>
                            <th class="head0">Email Address</th>
                            <th>Telephone</th>
                            <th>Blood Group</th>
                            <th>Nationality</th>
                            <th>Actions</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="gradeX">
                            <td class="aligncenter"><span class="center"><input type="checkbox"  style="opacity: 1 !important;"/></span></td>
                            <td>Trident</td>
                            <td>Klogo David</td>
                            <td>Win 95+</td>
                            <td>me@davidklogo.com</td>
                            <td>023348589596</td>
                            <td>O Positive</td>
                            <td>Ghanaian</td>
                            <td>
                                <?php echo $this->Html->link($this->Html->image('add-patient.png', array('border' => '0', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Add New Patient')); ?> 
                                <?php echo $this->Html->link($this->Html->image('edit-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Edit Patient')); ?>
                                <?php echo $this->Html->link($this->Html->image('view-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'View Patient Record')); ?>
                                <?php echo $this->Html->link($this->Html->image('delete-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Delete Patient')); ?>
                            </td>
                        </tr>
                        <tr class="gradeC">
                            <td class="aligncenter"><span class="center"><input type="checkbox"  style="opacity: 1 !important;"/></span></td>
                            <td>Trident</td>
                            <td>Rex Wole Opare</td>
                            <td>Win 95+</td>
                            <td>me@davidklogo.com</td>
                            <td>023348589596</td>
                            <td>O Negative</td>
                            <td>Ghanaian</td>
                            <td>
                                <?php echo $this->Html->link($this->Html->image('add-patient.png', array('border' => '0', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Add New Patient')); ?> 
                                <?php echo $this->Html->link($this->Html->image('edit-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Edit Patient')); ?>
                                <?php echo $this->Html->link($this->Html->image('view-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'View Patient Record')); ?>
                                <?php echo $this->Html->link($this->Html->image('delete-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Delete Patient')); ?>
                            </td>
                        </tr>
                        <tr class="gradeA">
                            <td class="aligncenter"><span class="center"><input type="checkbox"  style="opacity: 1 !important;"/></span></td>
                            <td>Trident</td>
                            <td>Prince Cordy</td>
                            <td>Win 95+</td>
                            <td>me@davidklogo.com</td>
                            <td>023348589596</td>
                            <td>B Negative</td>
                            <td>Ghanaian</td>
                            <td>
                                <?php echo $this->Html->link($this->Html->image('add-patient.png', array('border' => '0', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Add New Patient')); ?> 
                                <?php echo $this->Html->link($this->Html->image('edit-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Edit Patient')); ?>
                                <?php echo $this->Html->link($this->Html->image('view-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'View Patient Record')); ?>
                                <?php echo $this->Html->link($this->Html->image('delete-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Delete Patient')); ?>
                            </td>
                        </tr>
                        <tr class="gradeA">
                            <td class="aligncenter"><span class="center"><input type="checkbox"  style="opacity: 1 !important;"/></span></td>
                            <td>Trident</td>
                            <td>Kwaku Posina Nuamah</td>
                            <td>Win 98+</td>
                            <td>me@davidklogo.com</td>
                            <td>023348589596</td>
                            <td>A Positive</td>
                            <td>Ghanaian</td>
                            <td>

                                <?php echo $this->Html->link($this->Html->image('add-patient.png', array('border' => '0', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Add New Patient')); ?> 
                                <?php echo $this->Html->link($this->Html->image('edit-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Edit Patient')); ?>
                                <?php echo $this->Html->link($this->Html->image('view-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'View Patient Record')); ?>
                                <?php echo $this->Html->link($this->Html->image('delete-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Delete Patient')); ?>

                            </td>
                        </tr>
                        <tr class="gradeA">
                            <td class="aligncenter"><span class="center"><input type="checkbox"  style="opacity: 1 !important;"/></span></td>
                            <td>Trident</td>
                            <td>Jopsephine Dollar</td>
                            <td>Win XP SP2+</td>
                            <td>me@davidklogo.com</td>
                            <td>023348589596</td>
                            <td>O Positive</td>
                            <td>Ghanaian</td>
                            <td>
                                <?php echo $this->Html->link($this->Html->image('add-patient.png', array('border' => '0', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Add New Patient')); ?> 
                                <?php echo $this->Html->link($this->Html->image('edit-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Edit Patient')); ?>
                                <?php echo $this->Html->link($this->Html->image('view-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'View Patient Record')); ?>
                                <?php echo $this->Html->link($this->Html->image('delete-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Delete Patient')); ?>
                            </td>
                        </tr>

                        <tr class="gradeA">
                            <td class="aligncenter"><span class="center">
                                    <input type="checkbox"  style="opacity: 1 !important;"/>
                                </span></td>
                            <td>Trident</td>
                            <td>Boris Tonaton</td>
                            <td>Win 95+</td>
                            <td>me@davidklogo.com</td>
                            <td>023348589596</td>
                            <td>O Negatine</td>
                            <td>Ghanaian</td>
                            <td>
                                <?php echo $this->Html->link($this->Html->image('add-patient.png', array('border' => '0', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Add New Patient')); ?> 
                                <?php echo $this->Html->link($this->Html->image('edit-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Edit Patient')); ?>
                                <?php echo $this->Html->link($this->Html->image('view-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'View Patient Record')); ?>
                                <?php echo $this->Html->link($this->Html->image('delete-patient.png', array('border' => '2', 'width' => '20', 'height' => '20')), array('controller' => 'Dashboard', 'action' => 'add_patient'), array('target' => '_self', 'escape' => false, 'title' => 'Delete Patient')); ?>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div><!--maincontent-->
    </div><!--rightpanel-->
</div><!--mainwrapper-->



